// "use strict";
import "bootstrap";
import Animation from "@/public/js/skroll.min.js";
import "@/scss/pc/index.scss";
import "@/js/pc/common.js"
let delay;
$(window).ready(function() {
  Animation();
  let skroll = new Skroll();
  console.log();
  skroll
    .add(".anim6", {
      animation: "growInLeft",
      delay: 80,
      duration: 500,
      easing: "cubic-bezier(0.37, 0.27, 0.24, 1.26)"
    })
    .add(".anim8", {
      animation: "growInRight",
      delay: 80,
      duration: 500,
      easing: "cubic-bezier(0.37, 0.27, 0.24, 1.26)"
    })
    .add(".anim10", {
      animation: "growInRight",
      delay: 80,
      duration: 500,
      easing: "cubic-bezier(0.37, 0.27, 0.24, 1.26)"
    })
    .add(".anim12", {
      animation: "growInRight",
      delay: 80,
      duration: 500,
      easing: "cubic-bezier(0.37, 0.27, 0.24, 1.26)"
    })
    .add(".tab-item", {
      animation: "rotateLeftIn",
      delay: 100,
      duration: 750
    })
    .init();
  skroll.recalcPosition();
  setInterval(function() {
    skroll.recalcPosition();
  }, 2000);
  
});
